﻿using Zdap.Common;

namespace Datav.Web.Api.Controllers
{
    /// <summary>
    /// 学校限制配置
    /// </summary>
    public class LimitConfigController : BaseAllController<LimitConfigModel>
    {
        private readonly ILimitConfigService _service;

        /// <summary>
        ///
        /// </summary>
        /// <param name="serviceFactory"></param>
        public LimitConfigController(IServiceFactory serviceFactory) : base(serviceFactory)
        {
            _service = serviceFactory.Resolve<ILimitConfigService>();
        }

        ///// <summary>
        ///// 开通学校帐号
        ///// </summary>
        ///// <param name="dto"></param>
        ///// <returns></returns>
        //[HttpPost]
        //public async ValueTask<ResponseContext<long>> OpenSchoolLimit(AuthorizeDto dto)
        //{
        //    return await _service.OpenSchoolLimit(dto, CurrentUser);
        //}
    }
}